import { POST } from '@/services/request.js'

export default {
    orderAdd(data = {}) {
        return POST({
            url: '/order/add',
            params: data
        })
    },
    orderSoleadd(data = {}) {
        return POST({
            url: '/order/soleadd',
            params: data
        })
    },
    orderIndex(data = {}) {
        return POST({
            url: '/order/index',
            params: data
        })
    },
    orderInfo(data = {}) {
        return POST({
            url: '/order/info',
            params: data
        })
    },
    orderReceipt(data = {}) {
        return POST({
            url: '/order/receipt',
            params: data
        })
    },
    orderRate(data = {}) {
        return POST({
            url: '/order/rate',
            params: data
        })
    },
    orderRateInfoData(data = {}) {
        return POST({
            url: '/order/rateinfo',
            params: data
        })
    },
    orderRefund(data = {}) {
        return POST({
            url: '/order/refund',
            params: data
        })
    },
    orderLogistics(data = {}) {
        return POST({
            url: '/order/logistics',
            params: data
        })
    },
    orderRefundgoods(data = {}) {
        return POST({
            url: '/order/refundgoods',
            params: data
        })
    },
    orderExpress(data = {}) {
        return POST({
            url: '/order/express',
            params: data
        })
    },
}